%{
#include "ode/ode.h"
%}

%module jode

// Add swig helper functions for handling arrays
%include "carrays.i"
%array_functions(float, floatArray);
%array_functions(int, intArray);

%include "ode/ode.h"

#define _MSC_VER
#define FLT_MAX
%include <ode/config.h>
%include <ode/compatibility.h>
%include <ode/common.h>
%include <ode/contact.h>
%include <ode/error.h>
%include <ode/memory.h>
%include <ode/odemath.h>
%include <ode/matrix.h>
%include <ode/timer.h>
%include <ode/rotation.h>
%include <ode/mass.h>
%include <ode/misc.h>
%include <ode/objects.h>
%include <ode/odecpp.h>
%include <ode/collision_space.h>
%include <ode/collision.h>
%include <ode/odecpp_collision.h>
%include <ode/export-dif.h>

%include "jode.h"
